<!DOCTYPE html>
<html>
    <head>
        <title>SIGI - <?php echo $titulo ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <?php Tag::css('bootstrap/bootstrap') ?>        
        <style type="text/css">
            html,body
            {
                height:89%;
            }            
            body {
                padding-top: 60px;
                padding-bottom: 40px;
                /* background-color: #f2f2f2;*/
            }
            .sidebar-nav {
                padding: 9px 0;
            }      
            .container-fluid{
                background-color: #730101 !important;
            }      
            .navbar-inner{
                background-image: linear-gradient(#730101,#730101) !important;              
            }
            @media (max-width: 980px) {
                /* Enable use of floated navbar text */
                .navbar-text.pull-right {
                    float: none;
                    padding-left: 5px;
                    padding-right: 5px;
                }
            }

            #wrap{
                min-height: 100%;
            }

            .brand{
                color: #fefefe !important;
            }

            footer{
                border-top: solid #d7d7d7 1px;
                padding-top: 4px;
                padding-bottom: 9px;
                background-color: #f2f2f2;       

            }

            form-actions{
                border-radius: 10px;
            }     

            .form-vertical .form-horizontal .control-group > label {
                text-align: left;
            }
            .form-horizontal .form-vertical .control-group > label {
                float: none;
                padding-top: 0;
                text-align: left;
            }
            .form-horizontal .form-vertical .controls {
                margin-left: 0;
            }
            .form-horizontal .form-vertical.form-actions,
            .form-horizontal .form-vertical .form-actions {
                padding-left: 20px;
            }
            .control-group .control-group {
                margin-bottom: 0;
            }  
            body .modal {
                width: 90%; /* desired relative width */
                left: 5%; /* (100%-width)/2 */
                margin: 0 auto;
            }

        </style>
        <?php Tag::css('bootstrap/bootstrap-datetimepicker.min') ?>
        <?php Tag::css('bootstrap/bootstrap-responsive') ?>
        <?php Tag::css('style') ?>

        <?php Tag::css('jquery.fancybox-1.3.4') ?>
        <?php Tag::css('Jquery/custom/jquery.checkboxtree') ?>
        <?php echo Html::includeCss() ?>
        <?php echo Tag::js("jquery/jquery+kumbiaphp.min") ?> 
        <?php echo Tag::js('jquery/jquery-1.10.2.min') ?>
        <?php echo Tag::js('bootstrap/bootstrap'); ?>
        <?php echo Tag::js('bootstrap/bootstrap-datetimepicker.min'); ?>

        <?php //echo Tag::js("jquery.fancybox-1.3.4") ?>
        <script type="text/javascript">
            jq = jQuery.noConflict();
        </script>
    </head>
    <body>
        <div id="wrap">
            <div class="container">
                <div class="navbar navbar-inverse navbar-fixed-top" style="background-color: #730101 !important;">
                    <div class="navbar-inner">
                        <div class="container-fluid">
                            <a class="brand" href="#">EVENTOS - <?php echo $titulo ?></a>
                            <div class="pull-right">
                                <?php echo Html::link('login/logout', '<i class="icon-signout"></i> Cerrar Sesion', array("class" => "brand")) ?>
                            </div> 
                        </div>
                    </div>
                </div>    

                <div class="row">
                    <div class="span3">                        
                        <div class="row text-center">
                            <?php echo Html::img('sigi/Logo_Inpsasel.png') ?>
                        </div>
                        <br>
                        <!-- Informacion del Usuario -->
                        <blockquote>
                            <p>
                                <?php echo strtoupper(Auth::get("nombres")) ?>
                                <br>
                                <?php
                                //$usuario = Load::model("base/base_usuario")->find_first(Auth::get('id'));
                                //echo htmlentities($usuario->getUnidad()->nombre, null, APP_CHARSET);
                                ?>
                            </p>
                            <p>
                                <?php echo date("d/m/Y") ?>
                            </p>
                        </blockquote>
                        <!-- Menu de Navegacion -->
                        <div class="bs-docs-example">
                            <div class="dropdown clearfix">
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 10px; width: 280px;">
                                    <li><?php echo Html::link('inicio', '<i class="icon-home"></i> Inicio', array("tabindex" => "-1")) ?></li>
                                    <li><?php echo Html::link('inicio/micuenta', '<i class="icon-male"></i> Mi Cuenta', array("tabindex" => "-1")) ?></li>
                                    <li class="divider"></li>
                                    <li class="dropdown-submenu">
                                        <a tabindex="-1" href="#">Personas</a>
                                        <ul class="dropdown-menu">
                                            <li><?php echo Html::link('formulario/index', '<i class="icon-briefcase"></i> Registrar Persona',array("tabindex"=>"-1")) ?></li>
                                            <li><?php echo Html::link('formulario/consultar', '<i class="icon-briefcase"></i> Consultar Personas',array("tabindex"=>"-1")) ?></li>
                                        </ul>
                                    </li>
                                    <li class="divider"></li>
                                   <li class="dropdown-submenu">
                                        <a tabindex="-1" href="#">Deportes</a>
                                        <ul class="dropdown-menu">
                                            <li><?php echo Html::link('formdeporte/index', '<i class="icon-briefcase"></i> Registrar Deporte',array("tabindex"=>"-1")) ?></li>
                                            <li><?php echo Html::link('formdeporte/consultar', '<i class="icon-briefcase"></i> Consultar Deporte',array("tabindex"=>"-1")) ?></li>
                                            <li><?php echo Html::link('formulario/perso_depor', '<i class="icon-briefcase"></i> Consultar Persona-Deporte',array("tabindex"=>"-1")) ?></li>
                                        </ul>
                                    </li>
                                    
                                </ul>
                            </div>
                        </div> 
                    </div>
                    <div class="span9 container">
                        <?php echo View::content() ?>
                    </div>
                </div>
            </div>
        </div> 
        <footer>
            <div style="padding-right: 10px;">        		
                <?php //echo View::partial('breadcrumb') ?>
            </div>	     
            <br>

            <div class="" style="text-align: left; padding-left: 30px; color: #888;">
                Cooplix CA
                <br>
                Tecnologia en Inform&aacute;tica             
                <br>
                Eventos a nivel Nacional         
                <br>
                G-20003275-8 Copyright <?php echo date("Y") ?>

            </div>  
        </footer>
        <?php echo Tag::js('bootstrap') ?>
    </body>
</html>